<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta charset="utf-8" />
    <title>后台管理 - 普通用户编辑</title>

    <meta name="keywords" content="{$Think.CONFIG.keywords}" />
    <meta name="description" content="{$Think.CONFIG.description}" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />

    <include file="Public/head" />
</head>
<?php $User='active';$ptitle='普通用户管理';$title='修改';?>
<body class="no-skin">
<include file="Public/header" />
<div class="main-container" id="main-container">
    <script type="text/javascript">
        try{ace.settings.check('main-container' , 'fixed')}catch(e){}
    </script>

    <include file="Public/sidebar" />
    <div class="main-content">
        <div class="main-content-inner">
            <!-- #section:basics/content.breadcrumbs -->
            <include file="Public/breadcrumbs" />

            <!-- /section:basics/content.breadcrumbs -->
            <div class="page-content">
                <include file="Public/set" />

                <!-- /section:settings.box -->
                <div class="row">
                    <div class="col-xs-12">
                        <form action="{:U('user_edit')}" method="post" class="ajax-form" enctype="multipart/form-data">
                            <input type="hidden" name="id" value="{$info['id']}">
                            <input type="hidden" name="p" value="{$p}">
                            <input type="hidden" name="is_user_type" value="{$is_user_type}">
                            <input type="hidden" name="is_disabled" value="{$is_disabled}">
                            <input type="hidden" name="search_content" value="{$search_content}">}
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label class="col-sm-1 control-label no-padding-right" for="dealer_name"> 昵称 <span class="required">*</span> </label>
                                    <div class="col-sm-9">
                                        <input type="text" name='username' class="rcol-xs-10 col-sm-5" value="{$info['username']}" id="dealer_name" placeholder="昵称">
                                    </div>
                                </div>
                                <div class="space-4"></div>

                                <div class="form-group">
                                    <label class="col-sm-1 control-label no-padding-right"> 头像 </label>
                                    <div class="col-sm-9">
                                        <div class="col-xs-10 col-sm-5">
                                            <input type="file" class="up_img" name="picture">
                                            <img name='pic' id='pic' src="<eq name='val.head_picture' value=''>__PUBLIC__/img/default_head_picture.png<else />__ROOT__{$info['head_picture']}</eq>" style="width:100px;padding-top:10px;">
                                        </div>
                                    </div>
                                </div>
                                <div class="space-4"></div><br>

                                <div class="form-group">
                                    <label class="col-sm-1 control-label no-padding-right" for="dealer_name"> 手机号 <span class="required">*</span> </label>
                                    <div class="col-sm-9">
                                        <input type="text" name='phone' value="{$info['phone']}" class="rcol-xs-10 col-sm-5" placeholder="手机号">
                                    </div>
                                </div>
                                <div class="space-4"></div>

                                <div class="form-group">
                                    <label class="col-sm-1 control-label no-padding-right"> 性别 <span class="required">*</span> </label>
                                    <div class="col-sm-9">
                                        <select name="sex" class="rcol-xs-10 col-sm-1" id="disabled">
                                            <option value="1" <if condition="$info['sex'] eq 1">selected</if>>男</option>
                                            <option value="2" <if condition="$info['sex'] eq 2">selected</if>>女</option>
                                            <option value="3" <if condition="$info['sex'] eq 3">selected</if>>保密</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="space-4"></div>

                                <div class="form-group">
                                    <label class="col-sm-1 control-label no-padding-right"> 是否禁用 <span class="required">*</span> </label>
                                    <div class="col-sm-9">
                                        <select name="disabled" class="rcol-xs-10 col-sm-1" id="disabled">
                                            <option value="0" <if condition="$info['disabled'] eq 0">selected</if>>禁用</option>
                                            <option value="1" <if condition="$info['disabled'] eq 1">selected</if>>正常</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="space-4"></div>

                                <div class="form-group">
                                    <label class="col-sm-1 control-label no-padding-right" for="dealer_name"> 固定电话 <span class="required">*</span> </label>
                                    <div class="col-sm-9">
                                        <input type="text" name='fixed_telephone' value="{$info['fixed_telephone']}" class="rcol-xs-10 col-sm-5" placeholder="固定电话">
                                    </div>
                                </div>
                                <div class="space-4"></div>

                                <div class="form-group">
                                    <label class="col-sm-1 control-label no-padding-right" for="dealer_name"> 邮箱 <span class="required">*</span> </label>
                                    <div class="col-sm-9">
                                        <input type="text" name='email' value="{$info['email']}" class="rcol-xs-10 col-sm-5" placeholder="邮箱">
                                    </div>
                                </div>
                                <div class="space-4"></div>

                                <div class="form-group">
                                    <label class="col-sm-1 control-label no-padding-right" for="dealer_name"> QQ <span class="required">*</span> </label>
                                    <div class="col-sm-9">
                                        <input type="text" name='qq' value="{$info['qq']}" class="rcol-xs-10 col-sm-5" placeholder="QQ">
                                    </div>
                                </div>
                                <div class="space-4"></div>

                                <div class="form-group">
                                    <label class="col-sm-1 control-label no-padding-right" for="dealer_name"> 微信 <span class="required">*</span> </label>
                                    <div class="col-sm-9">
                                        <input type="text" name='wechat' value="{$info['wechat']}" class="rcol-xs-10 col-sm-5" placeholder="微信">
                                    </div>
                                </div>
                                <div class="space-4"></div>

                                <div class="col-md-offset-2 col-md-9">
                                    <button class="btn btn-info" type="submit">
                                        <i class="icon-ok bigger-110"></i>
                                        提交
                                    </button>

                                    &nbsp; &nbsp; &nbsp;
                                    <button class="btn btn-info" type="button" onclick='fan();'>
                                        <i class="icon-ok bigger-110"></i>
                                        返回
                                    </button>
                                </div>
                            </div>
                        </form>
                        <!-- PAGE CONTENT ENDS -->
                    </div><!-- /.col -->
                </div><!-- /.row -->
            </div><!-- /.page-content -->
        </div>
    </div><!-- /.main-content -->
    <include file="Public/footer" />

</div><!-- /.main-container -->

<include file="Public/footerjs" />
<!-- inline scripts related to this page -->
</body>
</html>
